<?php echo $this->doctype(); ?>
<html>
    <head>
        <!--[if lt IE 7]>
                <link rel="stylesheet" type="text/css" href="http://localhost/nhkmedia/public/templates/admin/css/ie6.css" media="screen"/>
        <![endif]-->
        <?php
        $this->headLink()->appendStylesheet($this->baseUrl('public/templates/admin/css/layout.css'))
                ->appendStylesheet($this->baseUrl('public/templates/admin/css/form.css'))
                ->appendStylesheet($this->baseUrl('public/templates/admin/css/table_list.css'))
                ->appendStylesheet($this->baseUrl('public/templates/admin/css/submenu.css'))
                ->appendStylesheet($this->baseUrl('public/templates/admin/css/menu.css'))
                ->appendStylesheet($this->baseUrl('public/templates/admin/css/menu_style.css'))
                ->appendStylesheet($this->baseUrl('public/css/colorbox.css'))
                ->appendStylesheet($this->baseUrl('public/css/base/jquery.ui.all.css'))
                ->appendStylesheet($this->baseUrl('public/templates/admin/css/anytime.css'));
        echo $this->headLink();
        $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
        echo $this->headMeta();
        $this->headScript()->appendFile($this->baseUrl('public/js/jquery-1.4min.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/jquery.ui.core.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/submit.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/jquery.colorbox.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/admin/global_function.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/jquery.ui.widget.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/jquery-migrate-1.0.0.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/anytime.js'), 'text/javascript')
                ->appendFile($this->baseUrl('public/js/ckeditor/ckeditor.js'), 'text/javascript');
        echo $this->headScript();
        echo $this->headTitle();
        $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
        ?>
    </head>
    <body>
        <div id="pageWrapper">
            <div id="header">
                <div class="header-left">
                    <a href="<?php echo $this->baseUrl(); ?>"><img src="<?php echo SITE_URL; ?>/public/images/NHKMediaLogo.png" border="0"></img></a>
                </div>
                <div class="header-right">
                    <div class="search-short-bar"></div>
                    <div class="head-text"></div>
                    <span class="myaccount"></span>
                    <div class="cart-view">
                        <span class="myaccount">Version 2.1</span>
                    </div>
                </div>
            </div>
            <div id="navtopmenu">
                <!-- cho nay đe top menu -->
                <div class="wrapper1">
                    <div class="wrapper">
                        <div class="nav-wrapper">
                            <div class="nav">
                                <ul id="navigation">
                                    <li class="<?php echo $controllerName == 'index' ? 'activemenu' : ''; ?>">
                                        <a href="<?php echo $this->baseUrl('admin'); ?>">
                                            <span class="menu-left"></span>
                                            <span class="menu-mid">Trang Admin</span>
                                            <span class="menu-right"></span>
                                        </a>
                                    </li>
                                    <li class="<?php echo $controllerName == 'config' ? 'activemenu' : ''; ?>">
                                        <a href="#">
                                            <span class="menu-left"></span>
                                            <span class="menu-mid">Cấu Hình</span>
                                            <span class="menu-right"></span>
                                        </a>
                                    </li>
                                    <li class="<?php echo $controllerName == 'user' ? 'activemenu' : ''; ?>">
                                        <a href="<?php echo $this->baseUrl('admin/user/dashboard'); ?>">
                                            <span class="menu-left"></span>
                                            <span class="menu-mid">Thành Viên</span>
                                            <span class="menu-right"></span>
                                        </a>
                                        <div class="sub">
                                            <ul>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/user/dashboard'); ?>">Thành viên</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/groups/dashboard'); ?>">Phân Nhóm (Groups)</a>
                                                </li>
                                            </ul>
                                            <div class="btm-bg"></div>
                                        </div>
                                    </li>
                                    <li class="<?php echo ($controllerName == 'shows' || $controllerName == 'menu' || $controllerName == 'location' || $controllerName == 'partner') ? 'activemenu' : ''; ?>">
                                        <a href="<?php echo $this->baseUrl('admin/shows/dashboard'); ?>">
                                            <span class="menu-left"></span>
                                            <span class="menu-mid">Sự Kiện/Shows</span>
                                            <span class="menu-right"></span>
                                        </a>
                                        <div class="sub">
                                            <ul>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/menu'); ?>">Menu</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/location'); ?>">Địa Điểm</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/stands'); ?>">Khán Đài/Khu Vực</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/partner'); ?>">Đơn Vị Tổ Chức</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/shows'); ?>">Sự Kiện/Shows</a>
                                                </li>
                                            </ul>
                                            <div class="btm-bg"></div>
                                        </div>
                                    </li>
                                    <li class="<?php echo $controllerName == 'blog' ? 'activemenu' : ''; ?>">
                                        <a href="<?php echo $this->baseUrl('admin/blog/dashboard'); ?>">
                                            <span class="menu-left"></span>
                                            <span class="menu-mid">Blog</span>
                                            <span class="menu-right"></span>
                                        </a>
                                    </li>
                                    <li class="<?php echo $controllerName == 'help' ? 'activemenu' : ''; ?>">
                                        <a href="<?php echo $this->baseUrl('admin/help/dashboard'); ?>">
                                            <span class="menu-left"></span>
                                            <span class="menu-mid">Trợ Giúp</span>
                                            <span class="menu-right"></span>
                                        </a>
                                        <div class="sub">
                                            <ul>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/help/faq'); ?>">Hỏi Đáp</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/help/terms'); ?>">Quy Định</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/help/privacy'); ?>">Chính Sách</a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo $this->baseUrl('admin/shows/about'); ?>">Về Chúng Tôi</a>
                                                </li>
                                            </ul>
                                            <div class="btm-bg"></div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="main">
                <?php echo $this->layout()->content; ?>
            </div>
            <div id="footer">
                <p class="contect">Admin BanVeGoc.Com</p>
                <p class="private">© 2013 HungBich JSC. All rights reserved.</p>
            </div>
        </div>
    </body>
</html>
